#ifndef __LS2X_H
#define __LS2X_H

#define LS2X_CORE_IPI_BASE		0x1fe11000
#define LS2X_ENTRY_BASE			0x1fe11400
#define LS2X_INTC_BASE			0x1fe11420
#define LS2X_APB_BASE			0x1fe00000
#define LS2X_CONF_BASE			0x1fe10000
#define LS2X_APB_DMA_CFG		0x1fe10438
#define LS2X_APB_DMA_BASE		0x1fe10c00

#define LS2X_MUX_BASE			0x1fe10420
#define LS2X_PLL_BASE			0x1fe10480
#define LS2X_PIXPLL_BASE		0x1fe104b0
#define LS2X_GPIO_BASE			0x1fe10500

#define LS2X_UART0_BASE			0x1fe00000
#define LS2X_NAND_BASE			0x1fe06000
#define LS2X_RTC_BASE			0x1fe07800
#define LS2X_SPI0_BASE			0x1fff0220
#define LS2X_I2C0_BASE			0x1fe01000
#define LS2X_I2C1_BASE			0x1fe01800
#define LS2X_PWM0_BASE			0x1fe02000
#define LS2X_PWM1_BASE			0x1fe02010
#define LS2X_PWM2_BASE			0x1fe02020
#define LS2X_PWM3_BASE			0x1fe02030

/* display controller */
#define LS2X_DC0_BASE			0xb0101240
#define LS2X_DC1_BASE			0xb0101250
#define LS2X_CURSOR_BASE		0xb0101520

#define LS2X_SDIO_BASE			0x1fe0c000

#define UART0_OFF	0x0
#define ACPI_OFF	0x7000

#include "regs-clk.h"
#include "pm.h"
#include "pci.h"
#include "gpio.h"

#endif
